草庐IT

apt-get update

全部标签

ubuntu - 在 Docker 中,apt-get install 失败并出现 "Failed to fetch http://archive.ubuntu.com/... 404 Not Found"错误。为什么?我们怎样才能过去呢?

我的团队使用Docker(带有ubuntu:14.04基础镜像)进行本地开发,我们经常需要重建部分或全部镜像。但是我们经常会遇到使用apt-getinstall下载软件包失败的情况,即使在运行apt-get-yupdate之后也是如此。例如,今天我看到Errhttp://archive.ubuntu.com/ubuntu/trusty-security/mainlibxml2amd642.9.1+dfsg1-3ubuntu4.7404NotFound[IP:91.189.88.16180]Errhttp://archive.ubuntu.com/ubuntu/trusty-securi

ubuntu - dpkg : error processing archive/var/cache/apt/archives/golang-1. 6-go_1.6.2-0ubuntu5~16.04.2_amd64.deb (--unpack):

当我运行sudoapt-get-finstall时,它显示dpkg:错误处理。请在下面找到完整的日志并建议如何解决这个问题。我在Ubuntu16.04上运行VB5.0.10,并且已经安装了go1.8并且运行良好sudoapt-get-finstallReadingpackagelists...DoneBuildingdependencytreeReadingstateinformation...DoneCorrectingdependencies...DoneThefollowingpackageswereautomaticallyinstalledandarenolongerrequ

docker - apt-add-repository : command not found error in Dockerfile

我刚刚在我的终端中做了一个非常简单的Docker文件,基本上我做了以下:mkdirpgroutedcdpgroutedtouchDockerfile现在我打开nano中的Docker文件编辑器,然后我将以下命令添加到Docker文件中:FROMubuntuMAINTAINERGautamLABELDescription="pgroutingexcercise"Vendor="skanatek"Version="1.0"ENVBBOX="-122.8,45.4,-122.5,45.6"#AddpgRoutinglaunchpadrepositoryRUNsudoapt-add-repos

docker - apt-add-repository : command not found error in Dockerfile

我刚刚在我的终端中做了一个非常简单的Docker文件,基本上我做了以下:mkdirpgroutedcdpgroutedtouchDockerfile现在我打开nano中的Docker文件编辑器,然后我将以下命令添加到Docker文件中:FROMubuntuMAINTAINERGautamLABELDescription="pgroutingexcercise"Vendor="skanatek"Version="1.0"ENVBBOX="-122.8,45.4,-122.5,45.6"#AddpgRoutinglaunchpadrepositoryRUNsudoapt-add-repos

ubuntu - 在 Ubuntu 上运行 apt-get update 时,Docker 存储库没有发布文件

我正在使用Ubuntu16.10,最近按照here中的说明使用Xenial构建安装了Docker(v1.12.4).我在创建容器、确保它们自动重启等方面没有遇到任何问题。但是,现在我每次运行apt-getupdate时都会收到以下错误消息:W:Therepository'https://apt.dockerproject.org/repoubuntu-xenialRelease'doesnothaveaReleasefile.N:Datafromsucharepositorycan'tbeauthenticatedandisthereforepotentiallydangerousto

ubuntu - 在 Ubuntu 上运行 apt-get update 时,Docker 存储库没有发布文件

我正在使用Ubuntu16.10,最近按照here中的说明使用Xenial构建安装了Docker(v1.12.4).我在创建容器、确保它们自动重启等方面没有遇到任何问题。但是,现在我每次运行apt-getupdate时都会收到以下错误消息:W:Therepository'https://apt.dockerproject.org/repoubuntu-xenialRelease'doesnothaveaReleasefile.N:Datafromsucharepositorycan'tbeauthenticatedandisthereforepotentiallydangerousto

bash -/bin/sh : apt-get: not found

我正在尝试更改dockerFile以使用aspell。我有一个bash脚本,我想将它封装在一个扩展坞中Step4:WrapthescriptinaDockercontainer.ThesampleSDKwedownloadedearliercontainsanexampleofanactionwrappedinaDockercontainer.Inparticular,thesampleSDKincludesaDockerfilethatbuildstheCprograminclient/example.candinstallsthebinaryas/blackbox/client/a

bash -/bin/sh : apt-get: not found

我正在尝试更改dockerFile以使用aspell。我有一个bash脚本,我想将它封装在一个扩展坞中Step4:WrapthescriptinaDockercontainer.ThesampleSDKwedownloadedearliercontainsanexampleofanactionwrappedinaDockercontainer.Inparticular,thesampleSDKincludesaDockerfilethatbuildstheCprograminclient/example.candinstallsthebinaryas/blackbox/client/a

python - 在没有互联网连接的情况下运行 sudo apt-get install

我的最终目标是将我的RaspberryPi变成一个FTP服务器。它连接到网络,但没有互联网连接。如果我可以运行“sudoapt-getinstall....”命令,这似乎非常容易完成,但由于我没有互联网,这是不可能的。我下载了python的“ftplib”,我认为它可以让我连接到我的FTP服务器并与之交互,但现在我卡住了。我对Linux或Web服务器了解不多,因此提前感谢您的耐心等待。我认为一个可能的解决方案是在我的计算机上通过互联网下载一个LAMP包,然后将其传输到RaspberryPi,但我不确定我可能会遇到什么样的路径和文件夹问题。 最佳答案

ruby - 不正确的 sources.list 导致 apt-get 更新失败 Ubuntu 13.04

我尝试使用rvm安装ruby​​,但由于apt-getupdate的问题而失败。我发现这是因为etc/apt目录下的sources.list文件有问题。我试着用这个http://blog.ubuntu-tweak.com/guide/how-to-fix-the-source-list-files了解并修复我的源文件。当我从sources.list中删除“坏行”时,已经没有行了。此时我能够成功地进行apt-get更新,但是rvminstallruby​​仍然失败,因为它现在无法找到必要的依赖项。我开始考虑完全全新安装,因为我不知道还能做什么,但我想我会先在这里寻求帮助。来源.list#